6.8
MEDIUM CVSS 3.1
CVE-2020-27348
snapcraft may build snaps with incorrect LD_LIBRARY_PATH
Description

In some conditions, a snap package built by snapcraft includes the current directory in LD_LIBRARY_PATH, allowing a malicious snap to gain code execution within the context of another snap if both plug the home interface or similar. This issue affects snapcraft versions prior to 4.4.4, prior to 2.43.1+16.04.1, and prior to 2.43.1+18.04.1.

INFO

Published Date :

Dec. 4, 2020, 3:15 a.m.

Last Modified :

Nov. 21, 2024, 5:21 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2020-27348 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
2 Canonical snapcraft
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
Solution
This information is provided by the 3rd party feeds.
  • Update the affected snapcraft, snapcraft-examples and / or snapcraft-parser packages.
Public PoC/Exploit Available at Github

CVE-2020-27348 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2020-27348.

URL Resource
https://bugs.launchpad.net/bugs/1901572 Exploit Issue Tracking Third Party Advisory
https://github.com/snapcore/snapcraft/pull/3345 Third Party Advisory
https://usn.ubuntu.com/usn/usn-4661-1 Patch Third Party Advisory
https://bugs.launchpad.net/bugs/1901572 Exploit Issue Tracking Third Party Advisory
https://github.com/snapcore/snapcraft/pull/3345 Third Party Advisory
https://usn.ubuntu.com/usn/usn-4661-1 Patch Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-27348 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2020-27348 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Informational Repository tracking times that real world bugs have come out of CTF challenges intentionally or otherwise

Updated: 3 months, 2 weeks ago
63 stars 2 fork 2 watcher
Born at : July 22, 2020, 1:06 a.m. This repo has been linked 9 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-27348 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-27348 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://bugs.launchpad.net/bugs/1901572
    Added Reference https://github.com/snapcore/snapcraft/pull/3345
    Added Reference https://usn.ubuntu.com/usn/usn-4661-1
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Dec. 14, 2020

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:snapcraft_project:snapcraft:*:*:*:*:*:*:*:* versions up to (excluding) 4.4.4 OR *cpe:2.3:a:canonical:snapcraft:*:*:*:*:*:*:*:* versions up to (excluding) 4.4.4
  • Initial Analysis by [email protected]

    Dec. 08, 2020

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:L/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
    Changed Reference Type https://bugs.launchpad.net/bugs/1901572 No Types Assigned https://bugs.launchpad.net/bugs/1901572 Exploit, Issue Tracking, Third Party Advisory
    Changed Reference Type https://github.com/snapcore/snapcraft/pull/3345 No Types Assigned https://github.com/snapcore/snapcraft/pull/3345 Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/usn/usn-4661-1 No Types Assigned https://usn.ubuntu.com/usn/usn-4661-1 Patch, Third Party Advisory
    Added CWE NIST CWE-427
    Added CPE Configuration OR *cpe:2.3:a:snapcraft_project:snapcraft:*:*:*:*:*:*:*:* versions up to (excluding) 4.4.4
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 4.4
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.12 }} 0.04%

score

0.31296

percentile